package com.tjtt.gwm.bean;

import java.math.BigDecimal;

/**
 * Outstoreform entity. @author MyEclipse Persistence Tools
 */

public class Outstoreform implements java.io.Serializable {

	// Fields

	private BigDecimal formid;
	private String formserial;
	private String outtype;
	private String applydept;
	private String applyperson;
	
	private String applyid;
	private String applydate;
	private String reasonforout;
	private String remarks;
	
	private String leadername;//存科长名字
	private String leadertime;
	private String leadersuggestion;//存科长id
	private String leaderid;
	
	
	private String housekeepername;
	private String housekeepersuggestion;// 存库管id
	private String housekeepertime;
    private String housekeeperid;
    private String finalensuretime;
    private BigDecimal backflag;
	// Constructors

	/** default constructor */
	public Outstoreform() {
	}

	/** minimal constructor */
	public Outstoreform(BigDecimal formid) {
		this.formid = formid;
	}

	/** full constructor */
	public Outstoreform(BigDecimal formid, String formserial, String outtype,
			String applydept, String applyperson,String applyid, String applydate,
			String reasonforout, String remarks, String leadername,
			String leadertime, String leadersuggestion,
			String aleadtid,   String housekeepername,
			String housekeepersuggestion,String housekeeperid,
			String housekeepertime,String finalensuretime,BigDecimal backflag) {
		this.formid = formid;
		this.formserial = formserial;
		this.outtype = outtype;
		this.applydept = applydept;
		this.applyperson = applyperson;
		this.applyid = applyid;
		this.applydate = applydate;
		this.reasonforout = reasonforout;
		this.remarks = remarks;
		
		this.leadername = leadername;
		this.leadertime = leadertime;
		this.leadersuggestion = leadersuggestion;
		this.leaderid = aleadtid;

		this.housekeeperid = housekeeperid;
		this.housekeepername = housekeepername;
		this.housekeepersuggestion = housekeepersuggestion;
		this.housekeepertime = housekeepertime;
		this.finalensuretime = finalensuretime;
		this.backflag = backflag;
	}

	// Property accessors

	public BigDecimal getFormid() {
		return this.formid;
	}

	public void setFormid(BigDecimal formid) {
		this.formid = formid;
	}
	
	public BigDecimal getBackflag() {
		try{
		return this.backflag;
		}
		catch(Exception e){
			e.printStackTrace();
			return null;
		}
	}

	public void setBackflag(BigDecimal backflag) {
		this.backflag = backflag;
	}

	public String getFormserial() {
		return this.formserial;
	}

	public void setFormserial(String formserial) {
		this.formserial = formserial;
	}

	public String getOuttype() {
		return this.outtype;
	}

	public void setOuttype(String outtype) {
		this.outtype = outtype;
	}

	public String getApplydept() {
		return this.applydept;
	}

	public void setApplydept(String applydept) {
		this.applydept = applydept;
	}

	public String getApplyperson() {
		return this.applyperson;
	}

	public void setApplyperson(String applyperson) {
		this.applyperson = applyperson;
	}
	
	
	public String getApplyid() {
		return this.applyid;
	}

	public void setApplyid(String id) {
		this.applyid = id;
	}
	

	public String getApplydate() {
		return this.applydate;
	}

	public void setApplydate(String applydate) {
		this.applydate = applydate;
	}

	public String getReasonforout() {
		return this.reasonforout;
	}

	public void setReasonforout(String reasonforout) {
		this.reasonforout = reasonforout;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getLeadername() {
		return this.leadername;
	}

	public void setLeadername(String leadername) {
		this.leadername = leadername;
	}

	public String getLeadertime() {
		return this.leadertime;
	}

	public void setLeadertime(String leadertime) {
		this.leadertime = leadertime;
	}

	public String getLeadersuggestion() {
		return this.leadersuggestion;
	}

	public void setLeadersuggestion(String leadersuggestion) {
		this.leadersuggestion = leadersuggestion;
	}
	
	public String getLeaderid() {
		return this.leaderid;
	}

	public void setLeaderid(String leaderid) {
		this.leaderid = leaderid;
	}
	
	public String getHousekeepername() {
		return this.housekeepername;
	}

	public void setHousekeepername(String housekeepername) {
		this.housekeepername = housekeepername;
	}
	
	public String getHousekeeperid() {
		return this.housekeeperid;
	}

	public void setHousekeeperid(String housekeepername) {
		this.housekeeperid = housekeepername;
	}
	
	public String getHousekeepersuggestion() {
		return this.housekeepersuggestion;
	}

	public void setHousekeepersuggestion(String housekeepersuggestion) {
		this.housekeepersuggestion = housekeepersuggestion;
	}
	public String getHousekeepertime() {
		return this.housekeepertime;
	}

	public void setHousekeepertime(String housekeepertime) {
		this.housekeepertime = housekeepertime;
	}
	
	public void setFinalensuretime(String finalensuretime){
		this.finalensuretime = finalensuretime;
	}
	public String getFinalensuretime(){
		return this.finalensuretime;
	}

}